#include <iostream>
#include <ctime>

using namespace std;

void getcrenttime(long *time);

int main()
{
    long sec;
    getcrenttime(&sec);
    cout << "Number of seconds :" << sec << endl;
    return 0;
}

void getcrenttime(long *par)
{
   *par = time( NULL );
   return;
}